package com.tql.mall.search.service;

import com.tql.mall.model.search.SearchParam;
import com.tql.mall.model.search.SearchRespVo;

/**
 * @Author: tyk
 * @Date: 2023/5/23 19:29
 * @Description:
 */
public interface SearchService {

    /**
     * 商品上架
     */
    Boolean onSale(Long skuId);

    /**
     * 商品下架
     */
    Boolean offSale(Long skuId);

    /**
     * 增加热度
     */
    Boolean incrHotScore(Long skuId);

    /**
     * 搜索
     */
    SearchRespVo search(SearchParam searchParam);
}
